import java.util.ArrayList;

public class arrayIdent {
    public String ident;//数组名字
    public String var;//数组对应的变量%x
    public int dim_num = 0;
    public String type;
    public ArrayList<Integer> dim = new ArrayList<>();

    public arrayIdent(String ident) {
        this.ident = ident;
        type = "";
    }

    public void add_dim(int len) {
        this.dim_num++;
        dim.add(len);
    }

}
